package cn.icare.cms.model.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "EditUnitRO",description = "商品计量单位修改参数对象类")
public class EditUnitRO {
    @ApiModelProperty(value = "主键id",required = true)
    private Long id;

    @ApiModelProperty(value = "名称",required = true)
    private String name;
    @ApiModelProperty(value = "排列序号，表示同级类目的展现次序，如数值相等则按id升序。取值范围:大于零的整数",required = true)
    private Integer sortindex;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSortindex() {
        return sortindex;
    }

    public void setSortindex(Integer sortindex) {
        this.sortindex = sortindex;
    }
}
